<%@ page  import="java.util.*" %>

<%
	String Code = (String)session.getAttribute("LanguageCode");
	String SubCode = (String)session.getAttribute("LanguageSubcode");
	Locale locale = new Locale(Code, SubCode);
	ResourceBundle resource = ResourceBundle.getBundle("resource", locale);
%>

<script src="js/components/timespan/renderReservation.js"></script>
<div style="display:inline-block;margin:12px;color:#fff;float:left" name="spanLength"></div>
<div class="timespanstyle" style="display:inline-block;float:right">

<% String sPathpresent=resource.getString("timespan.present");%>
<% String sPathoneDay=resource.getString("timespan.oneDay");%>
<% String sPaththreeDays=resource.getString("timespan.threeDays");%>
<% String sPathweek=resource.getString("timespan.week");%>
<% String sPathfifteenDays=resource.getString("timespan.fifteenDays");%>
<% String sPathmonth=resource.getString("timespan.month");%>

<button id="buttonmonth" class="timespanbutton" onclick="cerltimespan(this)" style="margin-right:12px" span="30">
<%=sPathmonth%>
</button>

<button id="buttonfifteenDays"  class="timespanbutton" onclick="cerltimespan(this)" span="15">
<%=sPathfifteenDays%>
</button>

<button id="buttonweek" class="timespanbutton" onclick="cerltimespan(this)" span="7">
<%=sPathweek%>
</button>

<button id="buttonthreeDays"  class="timespanbutton" onclick="cerltimespan(this)" span="3">
<%=sPaththreeDays%>
</button>

<button id="buttononeDay" class="timespanbutton" onclick="cerltimespan(this)" span="1">
<%=sPathoneDay%>
</button>

<button id="buttonpresent" class="timespanbutton" onclick="nowButton()" >
<%=sPathpresent%>
</button>
</div>